@layout("/backend/common/_container.html"){
    <style>
        .dhcc-form .ele {
            width: 70%;
            padding-right: 0px;
        }
    </style>
<div class="dhcc-form">

    <form method='post' id="cdcOrdmastInfoForm" name="cdcOrdmastInfoForm" enctype="multipart/form-data">
	
        <#Hidden id="id" value=""/>
	
        <div class="row row-lg">
            <div class="col-sm-6">
                <#Input id="xcode" name="索引码" />
            </div>
            <div class="col-sm-6">
                <#Input id="code" name="代码" />
            </div>
        </div>
        <div class="row row-lg">
            <div class="col-sm-6">
                <#Input id="description" name="描述"/>
            </div>
            <div class="col-sm-6">
                <#SelectForm id="busOrderTypeId" name="类型" url="/cdc/cdcdictionary/query/OrdData/bus_order_type" key="id"
                    text="description" hasEmpty="false" width="220px"/>
            </div>
        </div>
        <div class="row row-lg">
            <div class="col-sm-6">
                <#Input id="drugCommonName" name="药品通用名" />
            </div>
            <div class="col-sm-6">
                <#Input id="chemCommonName" name="化学通用名" />
            </div>
        </div>
        <div class="row row-lg">
            <div class="col-sm-6">
                <#SelectForm id="busOrderCateId" name="大类" url="/cdc/cdcdictionary/query/OrdData/bus_order_cat" key="id"
                    text="description" hasEmpty="false" width="220px"/>
            </div>
            <div class="col-sm-6">
                <#SelectForm id="busOrderSubcateId" name="子类" url="/cdc/cdcdictionary/query/OrdData/bus_order_subcat" key="id"
                    text="description" hasEmpty="false" width="220px"/>
            </div>
        </div>
		<div class="row row-lg">
            <div class="col-sm-6">
                <#SelectForm id="dataId" name="数据类型" url="/cdc/cdcdata/query" key="id" text="description" hasEmpty="false" width="220px"/>
            </div>
            <div class="col-sm-6">
                <#SwitchBox id="isActive" name="是否有效"/>
            </div>
        </div>
        <div class="toolbar">
            <#Button name="保存" id="ensure" icon="icon-w-save" clickFun="CdcOrdmastInfoDlg.addSubmit()"/>
            <#Button btnCss="l-bt-red" name="关闭" id="cancel" icon="icon-w-close" clickFun="CdcOrdmastInfoDlg.close()"/>
        </div>
    
    </form>
</div>
<script src="${ctxPath}/static/backend/cdc/cdcordmast/cdcordmast_info.js"></script>
@}
